﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ListenMusic.User_ServiceReference;
using System.ServiceModel;
namespace ListenMusic.Models.User
{
    public class UserRepository
    {
        UserServiceClient sc = new UserServiceClient();
        public Member checkLogin(string email, string password)
        {
            try
            {
                return sc.getMember(email, password);
            }
            catch (FaultException ex)
            {
                throw ex;
            }
        }

    }
}